package com.orange.community.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author GaryGyp
 * @Description 登录凭证
 */
@Data
@ToString
public class LoginTicket {

    //主键
    private int id;
    //数据库存储的用户
    private int userId;
    //登录凭证（唯一标识）
    private String ticket;
    //登录状态 0-有效 1-无效
    private int status;
    //到期日期
    private Date expired;

}
